package com.bang.rabbitmq.provider.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @Auther: Bang
 * @Date: 2019/11/3 22:39
 * @Description:
 */
@Data
public class Order implements Serializable {

    private String id;

    private String name;

    public Order(String id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
